package com.achang.achangmall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/******
 @author 阿昌
 @create 2021-10-04 21:20
 *******
 */

//二级分类vo
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Catelog2Vo {
    private String catalog1Id; //一级父分类id
    private List<Catelog3Vo> catalog3List; //三级子分类
    private String id;//二级分类id
    private String name;

    //三级分类vo 静态内部类
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Catelog3Vo{
        private String catalog2Id;//二级分类id
        private String id;//三级分类id
        private String name;
    }
}
